package com.jeeplus.test.website.infoPublish.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jeeplus.test.website.infoPublish.domain.entity.InfoPublish;
import com.jeeplus.test.website.infoPublish.domain.vo.InfoPublishReqVo;
import com.jeeplus.test.website.infoPublish.domain.vo.InfoPublishRespVo;


public interface InfoPublishService extends IService<InfoPublish> {

    Page<InfoPublishRespVo> getInfoPublishPage(InfoPublishReqVo infoPublishReqVo, long current, long size);

    InfoPublishRespVo queryById(String id);

    Boolean addInfoPublish(InfoPublishReqVo infoPublishReqVo);

    Boolean updateInfoPublish(InfoPublishReqVo infoPublishReqVo);

    Boolean deleteInfoPublish(String id);

}
